<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>左部</title>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-image: url(images/left.gif);
}
-->
</style>
<link href="css/css.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/jquery-1.8.3.min.js"></script>
</head>
<SCRIPT language=JavaScript>


$(document).ready(function(){
	$(".left-font03").click(function(e) {
		$(".subtree").css("display", "none");
        var left_table_1 = $(this).parents(".left-table03");
		left_table_1.children(".img_1").attr("src", "images/ico03.gif");
		left_table_1.next("table .subtree").css("display", "block");
    });
	
	$(".left-font04").click(function(e) {
		$(".left-font03").attr("src", "");
        $(this).parent().prev().children().attr("src", "../images/ico06.gif");
    });
	
});

</SCRIPT>

<body>
<table width="198" border="0" cellpadding="0" cellspacing="0" class="left-table01">
  <tr>
    <TD>
		<table width="100%" border="0" cellpadding="0" cellspacing="0">
		  <tr>
			<td width="207" height="55" background="images/nav01.gif">
				<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
				  <tr>
					<td width="25%" rowspan="2"><img src="images/ico02.gif" width="35" height="35" /></td>
					<td width="75%" height="22" class="left-font01">您好：${sessionScope.admin_session}</td>
				  </tr>
				 
				</table>
			</td>
		  </tr>
		</table>
		
		
		<c:forEach items="${requestScope.pv}" var="p" >
			<TABLE width="100%" border="0" cellpadding="0" cellspacing="0" class="left-table03">
	          <tr>
	            <td height="29">
					<table width="85%" border="0" align="center" cellpadding="0" cellspacing="0">
						<tr>
							<td width="8%"><img name="img8" class="img_1" src="images/ico04.gif" width="8" height="11" /></td>
							<td width="92%">
									<a  target="mainFrame" class="left-font03"  >${p.groupName }</a></td>
						</tr>
					</table>
				</td>
	          </tr>		  
	        </TABLE>
			<table class="subtree" style="DISPLAY: none" width="80%" border="0" align="center" cellpadding="0" 
					cellspacing="0" class="left-table02">
					<c:forEach items="${p.permission }" var="pp">
					<tr>
				  		<td width="9%" height="21" >
				  			<img class="xiaotu20" src="images/ico06.gif" width="8" height="12" />
				  		</td>
				  		<td width="91%">
				  			<a href="${pp.pdesc }" target="mainFrame" style="font-size: 12px;" class="left-font04">${pp.pname }</a>
				  		</td>
					</tr>
					</c:forEach>
	       </table>
		</c:forEach>
	  </TD>
  </tr>
  
</table>
</body>
</html>
